﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;

namespace CPPEI.Net.TCP
{
    public partial class TCPServer
    {
        /// <summary>
        /// 客户端连接上了
        /// </summary>
        /// <param name="client"></param>
        protected virtual void OnClientConnected(NetClientProxy client)
        {
        }

        /// <summary>
        /// 客户端断开连接
        /// </summary>
        /// <param name="client"></param>
        protected virtual void OnClientDisconnected(NetClientProxy client)
        {
        }
    }
}
